home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / mslang / poetmf / inc / queryres.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-11-23  |  1.5 KB  |  56 lines

  1. // ******************************************************************
  2. //
  3. //  queryres.h : header file
  4. // 
  5. //    Most of this file is generated by ClassWizard
  6. //
  7. //    (C) 1993 POET Software    
  8. //
  9. // ******************************************************************
  10.  
  11. #include "..\resource.h"    //    resource IDs
  12.  
  13. #include <poet.hxx>        // header to POET enviroment
  14. #include <base.hxx>        // generated by PTXX for the database base
  15. #include <hello.hxx>    // generated by PTXX when it processes hello.hcd
  16.  
  17.                                              
  18. //    to use IndirectCSet instead of OnDemandLSet uncomment next line                                             
  19. //#define WQ_USE_CSET
  20.  
  21. #ifndef __QUERYRES_H__
  22. #define __QUERYRES_H__
  23.  
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CQueryResultDlg dialog
  26.  
  27. class CQueryResultDlg : public CDialog
  28. {
  29. private:
  30.     PersonOnDemandLSet    *presult;
  31.     Person    *person;
  32. protected:
  33.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  34.     virtual void Init ();
  35.     
  36.     // Generated message map functions
  37.     //{{AFX_MSG(CQueryResultDlg)
  38.     virtual BOOL OnInitDialog();
  39.     //}}AFX_MSG
  40.     DECLARE_MESSAGE_MAP()
  41. public:
  42.     CQueryResultDlg(CWnd* pParent = NULL);    // standard constructor
  43.     ~CQueryResultDlg ();
  44.     
  45.     void SetResult (PersonOnDemandLSet    *pres) {presult = pres;}
  46.  
  47. // Dialog Data
  48.     //{{AFX_DATA(CQueryResultDlg)
  49.     enum { IDD = IDR_RESULT };
  50.     CListBox    m_CListResult;    //    Listbox control result
  51.     //}}AFX_DATA
  52. };
  53.  
  54. #endif __QUERYRES_H__                                    
  55.  
  56.